﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using AiXiu.BLL;
using AiXiu.IBLL;
using AiXiu.IDAL;
using AiXiu.DAL;
using AiXiu.Model;

namespace AiXiu.UnitTestDemoTests
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            ILoginAndRegisterBLL loginbll = new LoginAndRegisterBLL();
            TBLogins login = new TBLogins { 
                UserName = "testMs",
                Password = "cxg123000",
                MobileNumber = "15689785642"
            };
            var aa = loginbll.loginByUserName(login.UserName, login.Password);
        }
        [TestMethod]
        public void TestMethod3()
        {
            ILoginAndRegisterBLL loginbll = new LoginAndRegisterBLL();
            TBLogins login = new TBLogins
            {
                UserName = "testMs",
                Password = "cxg123000",
                MobileNumber = "15689785642"
            };
            var aa = loginbll.loginByUserName(login.UserName, login.Password);
        }
        [TestMethod]
        public void TestMethod4()
        {
            new VideoBLL().UpdateVideoState();
        }
    }
}
